package com.mytools.project.todo.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

@Data
public class TodoReq {
    private Long id;
    private String userId;
    private String title;
    private String description;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate dueDate;

    private String priority; // low, medium, high
    private Boolean completed;
}
